﻿@{
    ViewBag.Title = "AdvanceSearch";
    Layout = "~/Views/Shared/HomeLayout.cshtml";
}
<!--Sử dụng cho autocomplete-->

<link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
<link href="../../Content/styleorderform.css" rel="stylesheet" />
<!--Sử dụng chung-->
<script src="../../Scripts/jquery-1.5.1.min.js"></script>
<!--Sử dụng cho autocomplete-->
<script src="../../Scripts/jquery-ui-1.8.11.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        /* For zebra striping */
        $("table tr:nth-child(odd)").addClass("odd-row");
        /* For cell text alignment */
        $("table td:first-child, table th:first-child").addClass("first");
        /* For removing the last border */
        $("table td:last-child, table th:last-child").addClass("last");
    });
</script>
<!--Sử dụng cho autocomplete-->
<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        $('*[data-autocomplete-url]')
    .each(function () {
        $(this).autocomplete({
            source: $(this).data("autocomplete-url")
        });
    });
    });
</script>

<div class="center_title_bar"><img style="position:relative; top:3px;" src="../../Content/Images/Home/down_gray.png"/> Tìm sim theo yêu cầu</div>

<div class="prod_box_big">
   
            <div id="addresspayment">
                @using (Html.BeginForm("ResultAdvanceSearch", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
                {
                    <div class="checkboxFive">
                        <input type="checkbox" value="1" id="checkboxFiveInput" name="" class="abc" />
                        <label for="checkboxFiveInput"></label>
                    </div>
                    <span style="position: relative; top: -15px; left: 70px; font-style: italic; font-size: 13px;">Bạn hãy nhập thông tin vào biểu mẫu dưới đây và nhấn Tìm Kiếm</span>               
                    <table class="nostyle" style="margin-top: -10px;">
                        <tbody>
                            <tr>
                                <td>Tên nhà mạng
                                </td>
                                <td>
                                    @Html.TextBox("SearchString1", ViewBag.CurrentFilter1 as string, new { data_autocomplete_url = Url.Action("Autocomplete"), @class = "input" })
                                </td>
                            </tr>
                            <tr>
                                <td>Tên nhóm
                                </td>
                                <td>
                                    @Html.TextBox("SearchString2", ViewBag.CurrentFilter2 as string, new { data_autocomplete_url = Url.Action("AutocompleteCategory"), @class = "input" })
                                </td>
                            </tr>
                            <tr>
                                <td>Giá sim từ
                                </td>
                                <td>
                                    @Html.TextBox("SearchString3", ViewBag.CurrentFilter3 as string, new { @class = "input" })
                                </td>
                            </tr>
                             <tr>
                                <td>Giá sim đến
                                </td>
                                <td>
                                    @Html.TextBox("SearchString4", ViewBag.CurrentFilter4 as string, new { @class = "input" })
                                </td>
                            </tr>
                            <tr>
                                <td>Số sim
                                </td>
                                <td>
                                    @Html.TextBox("SearchString5", ViewBag.CurrentFilter5 as string, new { @class = "input" })
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    <input type="submit" value="Tìm kiếm" class="submit" />
                                </td>
                            </tr>

                        </tbody>
                    </table>
                }
            </div>
       
</div>
